Conversation
| "outDir": "./dist", | ||
| "skipLibCheck": true | ||
| }, | ||
| "include": ["project.types.d.ts"], |
There was a problem hiding this comment.
В рутовый tsconfig нужно добавлять нодовские директории /renderer, иначе yarn typecheck не работает например
| "license": "BSD 3-Clause", | ||
| "type": "module", | ||
| "workspaces": [ | ||
| "renderer" |
There was a problem hiding this comment.
Уверена насчет нейминга renderer?
| "renderer" | ||
| ], | ||
| "dependencies": { | ||
| "@tauri-apps/cli": "2.9.6" |
There was a problem hiding this comment.
Не критично, но такое обычно в devDependencies кладут
| @@ -1,2 +1 @@ | |||
| # widget | |||
| Desktop Reminder Widget | |||
| # template | |||
There was a problem hiding this comment.
Думаю стоит вернуть, или сразу описать
| "dependencies": { | ||
| "next": "15.1.6", |
| @@ -0,0 +1,22 @@ | |||
| { | |||
| "name": "renderer", | |||
There was a problem hiding this comment.
Название воркспейса сразу пишем по шаблону @scope/app-entrypoint, и лучше будет по fsd срузу его положить в renderer/app, чтобы потом можно было добавлять renderer/pages renderer/widgets
| @@ -0,0 +1,40 @@ | |||
| { | |||
There was a problem hiding this comment.
в нейминге desktop/src-tauri уверена, не сделать ли просто desktop/tauri тк внутри уже есть src desktop/tauri/src чтобы не было desktop/src-tauri/src?
| # Generated by Cargo | ||
| # will have compiled files and executables | ||
| /target/ | ||
| /gen/schemas |
There was a problem hiding this comment.
Думаю лучше использовать рутевый .gitignore, + в нем уже есть путь target
| "version": "0.1.0", | ||
| "private": true, | ||
| "scripts": { | ||
| "build": "NODE_OPTIONS='--no-deprecation' next build", |
There was a problem hiding this comment.
релиз падает из-за NODE_OPTIONS, посмотри как скприпт выглядит например в pathfinder или если будешь 16 некст использовать в revertix, но чтобы все прошло нужно ещё будет минимально next.config.ts настроить
Таска:
Пруфы:
Details